<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/10/2
  Time: 20:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>导航栏</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/plugins/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/css/head.css">
</head>
<body>
<!-- 导航开始 -->
<div>
    <div class="container-fluid">
        <div class="row" style="background-color:rgb(1,81,40)" >
            <ul class="nav navbar-nav navbar-right" style="padding-right: 20px;font-size: 10px;" id="head">
                <c:if test="${!empty user}">
                    <li><a href="#">欢迎&nbsp${user.username}!</a></li>
                    <li><a href="<%=request.getContextPath()%>/slogin/exit">安全退出</a></li>
                    <li><a href="<%=request.getContextPath()%>/personal/user">个人中心</a></li>
                </c:if>
                <c:if test="${empty user}">
                    <li><a href="<%=request.getContextPath()%>/cloginview">请登录!</a></li>
                </c:if>

            </ul>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <ul class="nav navbar-nav" id="daohang"
                style="width: 100%">
                <li style="padding-top: 0px;">
                    <img src="<%=request.getContextPath()%>/imgs/logo1 .png" alt="" style="width: 60px; height:60px;">
                </li>
                <li><a href="<%=request.getContextPath()%>/index/into">
                    首页
                </a></li>
                <li><a href="<%=request.getContextPath()%>/reg/in">
                    预约挂号
                </a></li>
                <li><a href="<%=request.getContextPath()%>/firstdep/dep">
                    科室导航
                </a></li>
                <li><a href="<%=request.getContextPath()%>/science">
                    健康科普
                </a></li>
                <li><a href="<%=request.getContextPath()%>/index/medicine">
                    药品物价查询
                </a></li>
                <ul class="nav navbar-nav navbar-right">
                    <li style="padding-top: 10px;"><a href="<%=request.getContextPath()%>/index/mapTurn">医院位置导航<img src="<%=request.getContextPath()%>/imgs/地图.png"  style="width: 15px; margin-left:5px "></a></li>
                </ul>
            </ul>
        </div>
    </div>
</div>
    <!-- 导航结束 -->

    <script src="<%=request.getContextPath()%>/plugins/jquery/jquery.min.js"></script>
    <script src="<%=request.getContextPath()%>/plugins/bootstrap/js/bootstrap.js"></script>


</body>
</html>
